<html>
<head><meta charset="utf-8"><title>rustfilt · t-compiler/performance · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/index.html">t-compiler/performance</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html">rustfilt</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="215526787"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215526787" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215526787">(Nov 04 2020 at 00:05)</a>:</h4>
<p><span class="user-mention" data-user-id="119009">@eddyb</span> Is your <a href="https://gist.github.com/eddyb/3a233c4709018e92b866">rustfilt.sh</a> script still useful? Or has the mangling scheme changed?</p>



<a name="215528266"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215528266" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215528266">(Nov 04 2020 at 00:26)</a>:</h4>
<p>Until eddyb can chime in,  I'll mention <a href="https://github.com/alexcrichton/rustc-demangle/">https://github.com/alexcrichton/rustc-demangle/</a>, which I believe handles current mangling schemes (i.e. with or without <code>-Z symbol-mangling-version=v0</code>).</p>



<a name="215528349"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215528349" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215528349">(Nov 04 2020 at 00:28)</a>:</h4>
<p>I don't think it includes a binary, though it's simple to write.</p>



<a name="215528599"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215528599" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215528599">(Nov 04 2020 at 00:31)</a>:</h4>
<div class="codehilite"><pre><span></span><code>use rustc_demangle::demangle;

fn main() {
    let symbol = std::env::args().nth(1).unwrap();
    println!(&quot;{}&quot;, demangle(&amp;symbol));
}
</code></pre></div>



<a name="215528653"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215528653" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215528653">(Nov 04 2020 at 00:32)</a>:</h4>
<p>there's a <code>rustfilt</code> binary crate that uses <code>rustc-demangle</code></p>



<a name="215529001"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215529001" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215529001">(Nov 04 2020 at 00:37)</a>:</h4>
<p>Eagerly anticipating new demangling code being upstreamed into Valgrind and the like</p>



<a name="215539526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215539526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215539526">(Nov 04 2020 at 04:16)</a>:</h4>
<p><span class="user-mention" data-user-id="120989">@njn</span> yeah you should <code>cargo install rustfilt</code> nowadays</p>



<a name="215539545"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215539545" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215539545">(Nov 04 2020 at 04:17)</a>:</h4>
<p><span class="user-mention" data-user-id="306073">@Tyson Nottingham</span> did you see that someone pinged the patch again out of the blue and <em>they</em> got a reply?</p>



<a name="215539570"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215539570" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215539570">(Nov 04 2020 at 04:17)</a>:</h4>
<p>wondering if my original pings went to spam <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="215540474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215540474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215540474">(Nov 04 2020 at 04:34)</a>:</h4>
<p>I saw. The community's got your back!</p>



<a name="215540570"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215540570" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tyson Nottingham <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215540570">(Nov 04 2020 at 04:36)</a>:</h4>
<p>I hope that soft wrapped reply didn't jeopardize it all <span aria-label="lol" class="emoji emoji-1f606" role="img" title="lol">:lol:</span></p>



<a name="215543533"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/rustfilt/near/215543533" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/rustfilt.html#215543533">(Nov 04 2020 at 05:40)</a>:</h4>
<p><span aria-label="rofl" class="emoji emoji-1f923" role="img" title="rofl">:rofl:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>